package com.clkj.xiuzheng.service;

import com.clkj.xiuzheng.pojo.Setting;
import com.clkj.xiuzheng.pojo.Shop;
import com.clkj.xiuzheng.pojo.ShopVisit;
import com.clkj.xiuzheng.pojo.UserShopApply;
import com.github.pagehelper.PageInfo;
import com.sun.javafx.collections.MappingChange;

import java.util.List;
import java.util.Map;

/**
 * @author yawang
 * @create 2024/04/11 13:42:48
 **/
public interface ShopService {
    Map shopList(Integer shopRegion);

    Map searchShop(String shopRegions,String shopTargets,String shopLevels);

    Map listMain();

    void addOrUpdateSetting(Setting setting);

    Setting listSetting();

    Map listHcustomer();

    Map backCount();

    PageInfo listCommission(Integer pageSize, Integer pageNum, Integer applySataus, Integer userId);

    List<UserShopApply> MylistCommission(Integer userId);

    List<ShopVisit> MyBalanceList(Integer userId);

    void commitCommission(Integer userId, Double applyMoney);

    void passCommission(Integer applyId);

    PageInfo getPutList(Integer pageSize, Integer pageNum, Integer isPut);
}
